drm/vc4: Add support for NV21 and NV61.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 16 Nov 2017 14:22:31 +0000 (14:22 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:41:18 +0000 (17:41 +0000)
commit0afb12971ab752f4ac7af117de639509e10fccca
tree8cb7ffe8c236126bd668b77e97e85235bddf0469
parent52e68f4d26e645cc3816d0f128b79c2db4630120
drm/vc4: Add support for NV21 and NV61.

NV12 (YUV420 2 plane) and NV16 (YUV422 2 plane) were
supported, but NV21 and NV61 (same but with Cb and Cr
swapped) weren't. Add them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1f50799525e3401551dff2b0b2828b9ab892f75f.1510841336.git.dave.stevenson@raspberrypi.org
(cherry picked from commit cb20dd170d6a7d41e0f347998771b0e0db183438)
drivers/gpu/drm/vc4/vc4_plane.c